package pub.tbc.toolkit.json;

import com.alibaba.fastjson.serializer.SerializerFeature;

/**
 * @author tbc on 2016/8/26 17:42:19.
 */
public class JsonFactory {

    public static SerializerFeature[] getDefaultSerializerFeatures() {
        return new SerializerFeature[]{
                SerializerFeature.WriteMapNullValue,
                SerializerFeature.WriteNullListAsEmpty
//                SerializerFeature.WriteNonStringValueAsString
        };
    }
}
